VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Office.Spreadsheet.NumberFormats Namespace / CurrencyFormat Class / CurrencyFormat Constructors / CurrencyFormat Constructor(Int32,Boolean,String[])
Syntax Exceptions Requirements SeeAlso
In This Topic
    CurrencyFormat Constructor(Int32,Boolean,String[])
    In This Topic
    Initializes a new instance of the CurrencyFormat class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal decimalPlaces
    Number of decimal places.
    As System.Int32, _
    ByVal isCurrencySymbolBeforeValue
    A value indicating whether currency symbol format must be written before number format.
    As Boolean, _
    ByVal ParamArray currencySymbolFormats
    Currency symbol format and it's synonyms.
    () As System.String _
    )
    public CurrencyFormat(
    System.Int32 decimalPlaces,
    bool isCurrencySymbolBeforeValue,
    params System.String[] currencySymbolFormats
    )
    public: CurrencyFormat(
    System.Int32 decimalPlaces,
    bool isCurrencySymbolBeforeValue,
    params System.String[]* currencySymbolFormats
    )
    public:
    CurrencyFormat(
    System.Int32 decimalPlaces,
    bool isCurrencySymbolBeforeValue,
    ... array<System.String>^ currencySymbolFormats
    )

    Parameters

    decimalPlaces
    Number of decimal places.
    isCurrencySymbolBeforeValue
    A value indicating whether currency symbol format must be written before number format.
    currencySymbolFormats
    Currency symbol format and it's synonyms.
    Exceptions
    ExceptionDescription
    Thrown if currencySymbolFormats is null or empty.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also